package online.hxstar.learn.nio.aio;

/**
 * @author huxing
 * @date 2018-12-13 18:36
 * @describe
 */
public class TimeClient {
    public static void main(String[] args) {
        int port = 4040;
        if (args != null && args.length > 0) {
            try {
                port = Integer.valueOf(args[0]);
            } catch (NumberFormatException ignored) {
            }
        }
        new Thread(new AsyncTimeClientHandler("127.0.0.1", port), "TimeClient-001").start();

    }
}
